-- GENERATED SPELL FOR [Woodpaw Mongrel] --


function spell0_5249(pUnit, Event) --@Contagion of Rot,n/a--
pUnit:FullCastSpellOnTarget(7102,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5249', 556, 1)
end

function Sorts_5249(pUnit, Event)
local choix_sorts_5249 = math.random(0, 0)
if choix_sorts_5249 == 0 then
pUnit:RegisterEvent('spell0_5249', 1, 1)
end
end

function mob5249_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5249', math.random(1500, 3000), 1)
end

function mob5249_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5249_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5249_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5249, 1, 'mob5249_Action')
RegisterUnitEvent(5249, 2, 'mob5249_Leave')
RegisterUnitEvent(5249, 3, 'mob5249_Kill')
RegisterUnitEvent(5249, 4, 'mob5249_Die')
